home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-05-02 | 968 b | 37 lines | [TEXT/MPS ] |
- set exit 0
- set sources ""
- set options ""
- set print ""
- echo "--------------------------------------------------------"
- echo " For Object Oriented Programming use the Original!"
- echo
- echo " Lund SIMULA ver 4.07"
- echo
- echo " This is a freeware utility. For future updates contact:"
- echo " Lund Software House AB"
- echo " Box 7056"
- echo " S-22007 Lund, Sweden"
- echo --------------------------------------------------------
-
- for i in {parameters}
- if "{i}" == "-p"
- set print "-p"
- else if "{i}" =~ /-≈/
- set options "{options} {i}"
- else if "{i}" =~ /≈ ≈/
- echo Simula can∂'t handle blanks in sourcefile names: ∂""{1}"∂" not compiled
- else
- set sources "{i} {sources}"
- end if
- end for
- for i in {sources}
- "Simula" {print}{options} -n -s {i}
- exit if {status}
- setfile -t TEXT -c 'MPS ' {i}.atr
- setfile -t TEXT -c 'MPS ' {i}.a
- if "{print}" == "-p"
- echo assembling: {i}.a
- end if
- asm -wb {i}.a -o {i}.sim.o
- delete {i}.a
- end for